const UserAgent = window.navigator.userAgent.toLowerCase();

// 浙里办APP
export const isApp = UserAgent.indexOf('dtdreamweb') > -1;

//微信小程序
export const isWeChart = UserAgent.indexOf('micromessenger') > -1;

//支付宝小程序
export const isAlipay = UserAgent.indexOf('miniprogram') > -1 && UserAgent.indexOf('alipay') > -1;
